import request from '@/utils/request'
export const register = (data) => {
  return request.post('user/registered', data)
}

export const login = (data) => {
  return request.post('user/login', data)
}

export const getUser = () => {
  return request.get('user')
}
